package com.hzhk.happyrent.bean.person;

import java.util.List;

/**
 * Created by soft_zzc on 2017/12/20.
 */

public class AddressModel {


    /**
     * errCode : 0
     * message : success
     * data : {"user_address":[{"id":"1","area":"","address":"大概会不会广告费发广告","phone":"15201196874","user_id":"10362","user_name":"读后感","check_default":"0"},{"id":"19","area":"请选择所在地区","address":"想换个环境和公共","phone":"15201116555","user_id":"10362","user_name":"返哈哈","check_default":"0"}]}
     * time : 1513962273
     */

    private int errCode;
    private String message;
    private DataBean data;
    private int time;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        private List<UserAddressBean> user_address;

        public List<UserAddressBean> getUser_address() {
            return user_address;
        }

        public void setUser_address(List<UserAddressBean> user_address) {
            this.user_address = user_address;
        }

        public static class UserAddressBean {
            /**
             * id : 1
             * area :
             * address : 大概会不会广告费发广告
             * phone : 15201196874
             * user_id : 10362
             * user_name : 读后感
             * check_default : 0
             */

            private String id;
            private String area;
            private String address;
            private String phone;
            private String user_id;
            private String user_name;
            private String check_default;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getArea() {
                return area;
            }

            public void setArea(String area) {
                this.area = area;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getUser_name() {
                return user_name;
            }

            public void setUser_name(String user_name) {
                this.user_name = user_name;
            }

            public String getCheck_default() {
                return check_default;
            }

            public void setCheck_default(String check_default) {
                this.check_default = check_default;
            }
        }
    }
}
